package learningThread.syn.synchronizedMethodLockObj.communicate.testVolatileAndNotify;

public class TestMain {

    public static void main(String[] args) {
        Object obj = new Object();
        MyThread1 myThread1 = new MyThread1(obj);
        MyThread2 myThread2 = new MyThread2(obj);
        myThread1.start();
        myThread2.start();
    }
}
